#pragma once

#include <Gpsapi.h>

void GPS_Open();
void GPS_Close();

BOOL GPS_IsOpened();

BOOL GPS_DataHasChanged();
void GPS_GetData(GPS_POSITION * pGPSPosition, GPS_DEVICE * pGPSDevice);

WCHAR * GPS_GetServiceStateDescription(DWORD serviceState);
void GPS_FormatDegreesMinutesSeconds(WCHAR * pszBuffer, double decimalDegrees);